<div class="head">
	<div class="head_con">
		<a href="../railway/list.php"><div class="logo"></div></a>
{if $user}
		<ul class="h_mun_t">
			<li>欢迎您：<font color="#FF9900"> {$user.name}</font></li>
			<li  style="background-image:url(../images/head_m2.png);">用户类型：<font color="#FF9900"> {$user.type}</font></li>
			<li  style="background-image:url(../images/head_m7.png);">有效期至:<font color="#FF9900"> {$user.valid|date_format:"%Y-%m-%d"}</font></li>        
			<li  style="background-image:url(../images/head_m1.png);"><a  href="../user/modify.php">个人信息</a></li>
			<li  style="background-image:url(../images/head_m9.png);"><a  href="../user/password.php">修改密码</a></li>
			
			<li  style="background-image:url(../images/pin.png);"><a href="javascript:bookmarksite('隆鹰铁路查询', 'http://{$user->http}');"> 添加到收藏夹</a></li>
            <li style="background-image:url(../images/world.png);"><a href="/shortcut.php">生成快捷方式</a></li>
            
			<li  style="background-image:url(../images/head_m6.png);"><a  href="../user/login.php">退出</a></li>
		</ul>
{else}
	<span class="h_mun_t">
	<font style="font-family:'微软雅黑';font-size:18px;">{#title#} </font>
	<font style="font-family:Arial;"><b>TEL</b>:021-51872290 <b>FAX</b>:021-51862950</font> 
	<img  style="CURSOR: pointer;position:relative;top:6px;" onclick="javascript:window.open('http://bizapp.qq.com/webc.htm?new=0&sid=706255527&eid=&o=上海隆鹰国际物流有限公司铁路运价查询系统&q=7&ref='+document.location, '_blank', 'height=544, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"  border="0" SRC="http://im.bizapp.qq.com:8000/zx_qq.gif"/>
	<a href="/" style="margin-left:20px;">登录</a>
	</span>

{/if}	
	</div>
</div>

<div class="waps">
	 <b class="rtop opt"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
      <div class="con" style="padding-top:5px;"></div>
</div>
{literal}	
<script>
function bookmarksite(title,url){
	if (window.sidebar) { // Mozilla Firefox
		window.sidebar.addPanel(title, url,"");
	} else if(document.all) { // IE
		window.external.AddFavorite( url, title);
	} else if(window.opera) { // Opera 7+
		return false; // do nothing
	} else { 
		alert('您的浏览器不支持自动收藏功能，请手动执行Ctrl + D');
	}
}
</script>
{/literal}	
